home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 February / macformat-034.iso / mac / Shareware City / Games / Lord of the Deck v2.4 ƒ / Examples / Sample Text Import < prev   
Encoding:
Text File  |  1995-08-21  |  2.2 KB  |  33 lines  |  [TEXT/ttxt]

  1. (This file looks best if you view it in 9-point monaco font)
  2.  
  3. This is a sample card text file to show how Lord of the Deck imports text files. Notice that any lines that don't start with a number are ignored, so you can have a bunch of extra junk in your files like this first sentance.
  4.  
  5. 45    Forest    Alpha    This will read in as 45 Alpha Forests. Note that spelling matters a
  6.                    great deal: the name must be *exactly* like it appears on the card, no
  7.                    abbreviations.
  8.  
  9. 1    Royal Assassin Unlimited    Note that there must be either multiple (more than one)
  10.                               spaces or a tab between the name of the card and the card
  11.                               set, if there was only one space, like there is here, the
  12.                               program would think that the name of this card was 'Royal
  13.                               Assassin Unlimited.' Since there is no card by that name,
  14.                               this line will be ignored.
  15.  
  16. 2 Royal Assassin    Revised      Since there's a tab between the name and set here, this will
  17.                               read in correctly.
  18.  
  19. 1 Caribou Range    Ice Age      You may have noticed by now that any text after the card set
  20.                              is ignored by the program
  21.  
  22. 2 Dark Ritual
  23. 1 Spitting Slug             If no card set is given, the program will assign the card a
  24.                             card set based on your recorded preferences.
  25.  
  26.  3 Clone Revised            There is a single space in front of the 3 here, so this line
  27.                             will be ignored since the first character is not a number.
  28.  
  29. 3                  Sol Ring                                                Beta
  30.  
  31. As long as the first character of a line is a number, extra spaces don't matter, like on the line above.
  32.  
  33. The biggest uses for the text import function are if you have your collection already saved in a spreadsheet or another deckbuilding program. As long as you can get the cards into this text format, they should read in fine. If you have any questions or problems about importing text files (or anything else about LotD for that matter) just send me e-mail at hedden@cs.utk.edu. I check my e-mail often and usually respond to it within a day.